Switch Class

Represents a sensor.

Inheritance hierarchy

System.Object
  System.ComponentModel.INotifyPropertyChanged
    IntervalZero.KINGSTAR.Base.Class.Switch

Namespace: IntervalZero.KINGSTAR.Base.Class

Assembly: IntervalZero.KINGSTAR.Base.Class (in IntervalZero.KINGSTAR.Base.dll) Version: 4.4.0.0

Syntax

C#VB
public class Switch : INotifyPropertyChanged
Public Class Switch Implements INotifyPropertyChanged

 

The Switch class exposes the following members.

Constructors

  Name Description
Switch A creator for the Switch class. This class contains the properties of a sensor.

Events

  Name Description
PropertyChanged Notifies the application whether one of the properties is changed.

Properties

  Name Description
Enable Enables or disables the limit or homing feature of a sensor.
Invert Inverts the sensor value.
Module Determines the type (axis or I/O) of the switch.
Offset The offset in bit of the sensor digital input in the module input variables.

See also

IntervalZero.KINGSTAR.Base.Class Namespace